#添加库路径
include_directories(${project_source_dir}/mylib)

#设置可执行文件路径
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)

configure_file(
    "${PROJECT_SOURCE_DIR}/config/config.h.in"
    "${PROJECT_SOURCE_DIR}/config/config.h"
)

option(
    PRINTF_HELLO
    ON
)

if(PRINTF_HELLO)
    
endif(PRINTF_HELLO)

aux_source_directory(./ DIR_SRCS)

add_executable(demo5 ${DIR_SRCS})

target_link_libraries(demo5 mylib)

